home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / HENSA / MATHS / PLPLOT / PLPLOT.ZIP / sys / dos / djgpp / cf / lib.in < prev    next >
Encoding:
Text File  |  1994-08-10  |  1.7 KB  |  61 lines

  1. # -----------------------------------------------------------------------
  2. # $Id: lib.in,v 1.1 1994/08/10 01:08:21 mjl Exp $
  3. #
  4. # Maurice LeBrun
  5. # IFS, University of Texas at Austin
  6. # 14-Jul-1994
  7. #
  8. # PLplot build rule for library under Unix.
  9. # -----------------------------------------------------------------------
  10.  
  11. # -----------------------------------------------------------------------
  12. # Set up inference rules appropriate for building archive libraries.
  13. # -----------------------------------------------------------------------
  14.  
  15. .c$O:
  16.     $(CC) $(CC_FLAGS) $*.c
  17.  
  18. .f$O:
  19. #    $(F77) $(F77_FLAGS) $*.f
  20.     f2c -A $*.f
  21.     $(CC) $(CC_FLAGS) $*.c
  22.     del $*.c
  23.  
  24. # -----------------------------------------------------------------------
  25. # Library dependency list and targets
  26. # -----------------------------------------------------------------------
  27.  
  28. PLLIBS = $(PLLIB_AR)
  29.  
  30. libs:    $(PLLIBS)
  31.  
  32. $(PLLIB_AR):    $(LIB_OBJS)
  33.     -rm $(PLLIB_AR)
  34.     @echo .
  35.     @echo "Building archive library"
  36.     @echo .
  37.     $(ARLIB_BUILD) $(PLLIB_AR) @libfiles.tmp
  38.     $(RANLIB) $(PLLIB_AR)
  39.     @echo .
  40.  
  41. # -----------------------------------------------------------------------
  42. # Sick hacks.
  43. # -----------------------------------------------------------------------
  44.  
  45. # Needs to be compiled using K&R C.
  46.  
  47. tcpip$O:    plserver.h plplotTK.h plplotX.h plplotP.h plplot.h pdf.h \
  48.         plstream.h tcpip.c
  49.     $(OCC) $(CC_FLAGS) tcpip.c
  50.  
  51. # Optimizer under AIX 3.2.3 bogues out here.
  52.  
  53. xwin$O:        plplotP.h plplot.h drivers.h pdf.h plstream.h plplotX.h xwin.c
  54.     $(CC) $(CC_FLAGS_XWIN) xwin.c
  55.  
  56. # Optimizer on SX-3 makes bogus code here.
  57.  
  58. sccont$O:    plstubs.h plplotP.h plplot.h sccont.c
  59.     $(CC) $(CC_FLAGS_SCCONT) sccont.c
  60.  
  61.